import com.sun.rowset.internal.Row;

import java.util.ArrayList;
import java.util.List;

public class Test {
    private static int x = 100;// 2
    private float f=1.f;
    int m=12;
    static int n=1;
    private int count;
    public String toString() {
        System.out.print("aaa");
        return "bbb";
    }
    public static void main(String[] args) {
        Test test = new Test();
        System.out.println(test);
    }

    public static void main99(String[] args) {



        //System.out.println(test.count);

    }


    static int cnt = 6;
    static{
        cnt += 9;
    }
    public static void main55(String[] args){
        System.out.println("_______");
        System.out.println("cnt = " + cnt);
        System.out.println("__________-");
    }
    static{
        cnt /=3;
    };
    public List<List<Integer>> generate(int numRows){
        List<List<Integer>> ret =new ArrayList<>();
        List<Integer> row=new ArrayList<>();
        row.add(1);
        for (int i = 0; i < numRows ; i++) {
            List<Integer> preRow=ret.get(i-1);//
            List<Integer> curRow=new ArrayList<>();
            curRow.add(1);//开头的1
            for(int j=1;j<i;j++){//0、1行不参与加运算
                int x=preRow.get(j)+preRow.get(j-1);//在ret[i-1]行进行加法运算，赋值给下一行的[i][j]元素
                curRow.add(x);
            }
            curRow.add(1);//最后的一
            ret.add(curRow);
        }
        return ret;

    }


    /*public static void main12(String[] args) {
        Test hsl = new Test();// 4
        hsl.x++;// 5
        Test hs2 = new Test();// 6
        hs2.x++;// 7
        System.out.println(x);
        hsl = new Test();// 8
        hsl.x++;// 9
        System.out.println(x);
        Test.x--;// 10
        System.out.println(" x=" + x);// 11
    }*/
}
